﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestingPageForMrinmoy.aspx.cs"
    Inherits="DasIdeen.Pages.TestingPageForMrinmoy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 198px;
            margin-left: 40px;
        }
        .style4
        {
            width: 464px;
            margin-left: 40px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    
    <div>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkUseConfigFile" 
            runat="server" Text="Use Config file settings" AutoPostBack="True" 
            oncheckedchanged="chkUseConfigFile_CheckedChanged" />
        &nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;<asp:RadioButton ID="optConfigFileGoogleMailSetting" runat="server" 
            GroupName="MailHostConfig" oncheckedchanged="optConfigFileGoogleMailSetting_CheckedChanged" 
            Text="Use Config File Google Mail Settings" AutoPostBack="True" 
            Enabled="False" Visible="False" />
        &nbsp;&nbsp;
        <asp:RadioButton ID="optConfigFileGoDaddyMailSetting" runat="server" 
            GroupName="MailHostConfig" oncheckedchanged="optConfigFileGoDaddyMailSetting_CheckedChanged" 
            Text="Use Config File GoDaddy Mail Settings" AutoPostBack="True" 
            Enabled="False" Visible="False" />
    </div>
    <div>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;<asp:RadioButton ID="optUseGoogle" runat="server" 
            GroupName="MailHost" oncheckedchanged="optUseGoogle_CheckedChanged" 
            Text="Use Google Mail Host" AutoPostBack="True" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="optUseGoddayRelayHost" runat="server" GroupName="MailHost" 
            oncheckedchanged="optUseGoddayRelayHost_CheckedChanged" 
            Text="Use Godday Relay Mail Host" AutoPostBack="True" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="optUseGodaddyDomailHost" runat="server" 
            GroupName="MailHost" oncheckedchanged="optUseGodaddyDomailHost_CheckedChanged" 
            Text="Use Godaddy Domain Mail Host" AutoPostBack="True" />
    </div>
    <h1><asp:Label ID="lblResult" runat="server" ForeColor="#006600"></asp:Label></h1>
    <table style="width: 800px;">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="To: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMailTo" runat="server" style="margin-right: 87px" 
                    Width="618px">mrinmoyd@hotmail.com</asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label12" runat="server" Text="CC: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMailCC" runat="server" style="margin-right: 87px" 
                    Width="618px">mrinmoyd@gmail.com</asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label13" runat="server" Text="BCC: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMailBCC" runat="server" style="margin-right: 87px" 
                    Width="618px">frameworkivy@googlegroups.com</asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="From: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMailFrom" runat="server" Width="616px"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Subject: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSubject" runat="server" Width="616px"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" Text="Body"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtBody" runat="server" Height="193px" TextMode="MultiLine" 
                    Width="615px">Hello,
Please ignore this mail. This is a test mail.
Sorry for the inconvenience.

Thankd anf Regards
FrameworkIvy
</asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="SmtpClient Host"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSmtpHost" runat="server" Width="613px"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Text="SmtpClient Port No." Width="205px"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSmtpPort" runat="server" Width="607px"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label11" runat="server" Text="Smtp Host SSL"></asp:Label>
            </td>
            <td>
                <asp:CheckBox ID="chkSmtpHostSSL" runat="server" Checked="True" 
                    Text="Smtp Host SSL Enabled" />
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Text="SmtpClient Credential"></asp:Label>
            </td>
            <td>
                <asp:CheckBox ID="chkUseDefaultCredentials" runat="server" Checked="True" 
                    Text="Use Default Credentials" 
                    oncheckedchanged="chkUseDefaultCredentials_CheckedChanged" />
            </td>
            
        </tr>
        <tr>
            <td class="style4">
                <asp:Label ID="Label8" runat="server" Text="Smtp Network Credential"></asp:Label>
            </td>
            <td class="style1">
                <asp:Label ID="Label9" runat="server" Text="User ID: "></asp:Label>
                <asp:TextBox ID="txtUserId" runat="server" Width="218px"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label10" runat="server" Text="Password: "></asp:Label>
                <asp:TextBox ID="txtPassword" runat="server" Width="219px" TextMode="Password"></asp:TextBox>
            </td>
            
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Mail Send" />
            </td>
            
        </tr>
    </table>
    </form>
</body>
</html>
